<template>
  <div>
    <p>t2</p>
    <p>{{ a }}</p>
  </div>
</template>

<script>
import { mapState } from "vuex";

export default {
  computed: {
    ...mapState(["a"]),
    // a() {
    //   return this.$store.state.a;
    // },
  },
};
</script>

<style lang="less" scoped>
</style>